﻿﻿<template>
    <el-card class="form-container">
        <el-form :model="editForm" ref="editForm" :rules="dataRule"  @keyup.enter.native="dataFormSubmitHandle()" label-width="90px">
                                                    <el-form-item>
                <el-button @click="cancel">取消</el-button>
                <el-button type="primary"  @click="submit('dataForm')">确定</el-button>
            </el-form-item>
        </el-form>
    </el-card>
</template>

<script>
    import { findRefundOrderDetail } from '@/api/admin/user'
    export default{
        name: 'user-refundOrder',
        data(){
            return {
                editForm:{
                                                                                }
            }
        },
        created(){
            this.editForm.id = this.$route.query.id
            this.view(this.$route.query.id)
        },
        methods:{
            view(val){
                findRefundOrderDetail(val).then(res => {
                    this.editForm = res.data.responseData
            })
            },
            cancel(){
                this.$router.go(-1)
            },
            update(){

            }
        }
    }
</script>

<style>
</style>
